package ast;

public class AssignNode extends StmtNode
{
	public VarNode var;
	
	public AssignNode(VarNode v, ExprNode e)
	{
		var = v;
		left = e;
		right = null;
	}

	public Object accept(Visitor v)
	{
		return v.visit(this);
	}

}